---
layout: default
---

<div class="post">
  <h1 class="post-title">{{ page.title }}</h1>
  <div class="post-meta">
      <span class="post-date">{{ page.date | date_to_string }}</span>
      {% if page.tags.size > 0 %}
          | Tags: 
          {% for tag in page.tags %}
              <a class="post-tag" href='{{ site.url }}/tags/#{{tag | slugify }}'>{{tag}}</a>    
          {% endfor %}
      {% endif %}
    
    <div class="post-content">
        {{ content }}
    </div>
</div>

<div class="related">
  <h2>Related Posts</h2>
  <ul class="related-posts">
    {% for post in site.related_posts limit:3 %}
      <li>
        <h4>
          <a href="{{ site.baseurl }}{{ post.url }}">
            {{ post.title }}
            <small>{{ post.date | date_to_string }}</small>
          </a>
        </h4>
      </li>
    {% endfor %}
  </ul>
</div>
